// wms的首页仪表盘需要的api
import request from '@/utils/request'

// 首页不同入库类型的未入库单数量
export function receiptOrderStatistics() {
  return request({
    url: '/wms/dashBoard/receiptOrder/statistics',
    method: 'get'
  })
}

// 首页不同出库类型的未出库单数量
export function shipmentOrderStatistics() {
  return request({
    url: '/wms/dashBoard/shipmentOrder/statistics',
    method: 'get'
  })
}

// 查询各仓库货物统计
export function queryWarehouseInventoryStatistics() {
  return request({
    url: '/wms/dashBoard/inventory/statistics',
    method: 'get'
  })
}

// 查询时间范围内出入移库单统计
export function inAndOutOrderTrend(data) {
  return request({
    url: '/wms/dashBoard/inAndOutOrder/trend',
    method: 'get',
    params: data
  })
}
